<?
// Input: (Variable, Nombre, Filtro interno )
	$this->aDatos[$cTemplateId][aParametros] = array( 
								array( 'aModos', 'Modo', ''), 
								array( 'bRecorrido', 'Buscador Recorridos', '1: Si; 2: No' ),
								array( 'bServicio', 'Buscador Servicios', '1: Si; 2: No' ),
								array( 'ncRotuloTop', 'Tag Top', 'SELECT ncRotulo, cdRotulo FROM gtRotuloMenu' ),
								array( 'ncRotuloBottom', 'Tag Bottom', 'SELECT ncRotulo, cdRotulo FROM gtRotuloMenu' ),
							);
	if( !isset($ncMenu) ) $ncMenu = getParam('ncMenu', ( $this->cAction == START_ACTION )  ? START_MENU : '' );
	include( PATH_MODULES . 'portal/controller_ini.php');
	global $aMenu;
	$cCamino = $aMenu[cCamino];
	if ( $ncRotuloTop ) 
	{
		//$this->aDatos[$cTemplateId][aMenuTop] = new Menu('body_main', 'menuitem', 'menu' );
		//armarMenuSimple ( $this->oDatabase, $this->aDatos[$cTemplateId][aMenuTop], null, $this->getLanguage(), false, "cCamino like '" . $aMenu[cCamino] . "%' AND ncMenu IN ( SELECT ncMenu FROM gtMenuRotulo WHERE ncRotulo = $ncRotuloTop) " );
		armar_menu_simple($this->oDatabase, $this->aDatos[$cTemplateId][aMenuTop], "cCamino like '" . $cCamino . "%' AND ncMenu IN ( SELECT ncMenu FROM gtMenuRotulo WHERE ncRotulo = $ncRotuloTop) " , "", $this->getLanguage());
	}
	if ( $ncRotuloBottom ) 
	{		
		armar_menu_simple($this->oDatabase, $this->aDatos[$cTemplateId][aMenuBottom], "cCamino like '" . $cCamino . "%' AND ncMenu IN ( SELECT ncMenu FROM gtMenuRotulo WHERE ncRotulo = $ncRotuloBottom) " , "", $this->getLanguage());
	}

	$this->aDatos[$cTemplateId][aModos] = $aModos ;
	$this->aDatos[$cTemplateId][ncMenu] = $ncMenu ;
	$this->aDatos[$cTemplateId][bSeleccion] = $bSeleccion;
	$this->aDatos[$cTemplateId][nExpandido] = $nExpandido;
	
?>